This section provides you the steps to upgrade Kony MobileFabric Integration Service manually from 5.0.x/5.5.x / 5.6.x to 6.5.x (WebLogic). Assume that you have prior installation of Kony MobileFabric Integration Service.
The following table displays the prerequisites for upgrading Kony MobileFabric Integration Service.
Refer to http://community.kony.com/downloads/manual to download the following artifacts of <<GA-6.X.Y.Z>/Middleware/>:
Artifacts | Type | Purpose |
---|---|---|
Respective Database scripts | Database Scripts | To setup the required schema |
|
WAR and EAR files |
To be deployed to Application Server |
|
TAR files |
To backup files, follow these steps:
Sample path for middleware -bootconfig <middleware-home>\middleware\middleware-bootconfig>
Download and run the upgrade scripts from http://developer.kony.com/KonyDBScripts to upgrade the database and enable legacy reports.
For example: If your database version is 5.0.3 Oracle, run the schemas in "Oracle_upgrade_5.0.3 to 5.0.6" folder in the numerical order.
Note: To enable the legacy reports, the database should be the latest 5.0.6. version. If your database is not latest, run the database scripts based on your database and upgrade to 5.0.6 version.
To execute the database scripts downloaded in the prerequisites step, follow these steps:
Note: This is required for new metrics.
Note: Change the names of Kony Admin and Kony Reports as per your requirements in the SQL files downloaded in the Prerequisites step.
middleware-bootconfig of 6.5.x is bundled with few additional .properties files compared to earlier versions that are required during the upgrade process. You would also need few .properties files from your backup location.
To add new and update existing property files, follow these steps:
The following new property files extracted are applicable only for metrics
Note: You must replace the credentials and IP addresses according to your environment.
################################################## #Metrics Topic Configuration (applicable only for metrics) ################################################## #To enable/disable metrics #Make it true, if Kony Reports enabled and Metrics Topic is #configured metrics.logging=true metrics.TopicName=jms/KonyMetricsTopic metrics.TopicConnectionFactoryName=jms/KonyConnectionFactory #For JBOSS JMS metrics.initialContextFactoryName=org.jboss.naming.remote.client. #InitialContextFactory #metrics.providerURL=remote://<ipaddress:port> #For Weblogic JMS #metrics.initialContextFactoryName=weblogic.jndi. WLInitialContextFactory #metrics.providerURL=remote://<ipaddress:port> #START- JBoss 6.2 EAP Additional Properties metrics.securityPrincipalName=admin metrics.securityCredentials=admin123 metrics.userName=admin metrics.password=admin123 #END- JBoss 6.2 EAP Additional Properties #metrics.URLPkgPrefixes=jboss.naming:org.jnp.interfaces #NOTE: failoverDuration and failoverRetries introduced for kony middleware (not defined by log4j) #metrics.FailoverDuration=5000 #metrics.FailoverRetries=3
Note: From 6.0.3.3 GA, metrics.logging flag is available and by default, it is set to true. Prior to that, below error is displayed (you can ignore this). ERROR-logservice.JMSLogService - Error while look up topic.
Note: If we set metrics.logging property to false, call the kony.license.disableMetricReporting() API in app init to disable “Maximum Offline Sessions Exceeded” alert.
Note: Uncomment the properties according to your database type and comment the else for hibernate Dialect properties. For Database type enter the db type as shown.
#Server Console configuration properties file
#Hibernate Dialect related properties. #For SQL Server #konyadmindb.dialect=com.kony.console.admin.dialect.CustomSQLServerDialect #For MySQL #konyadmindb.dialect=com.kony.console.admin.dialect.CustomMySQLDialect #For Oracle thin driver #konyadmindb.dialect=com.kony.console.admin.dialect.CustomOracleDialect #For DB2 #konyadmindb.dialect=com.kony.console.admin.dialect.CustomDB2Dialect #konyadmindb.dialect=com.kony.console.admin.dialect.CustomMySQLDialect #Admin and Report Database JNDI Names admindb.jndi.name=jdbc/konyadmindb reportsdb.jndi.name=jdbc/konyreportsdb #Database Type (mysql/oracle/sqlserver/db2) admindb.dbtype=mysql reportsdb.dbtype=mysql
middleware-log4j.properties
file from middleware-home\middleware\middleware-bootconfig> and edit as following.Note: You must replace the credentials and IP addresses according to your environment.
jms.logging=true (Change this value to false if old reports and JMS topic is configured or to be configured) #Enable the below statements if reporting is enabled and JMS topic is configured. #log4j.category.com.konylabs.middleware.connectors.logservice=INFO,jms #log4j.additivity.com.konylabs.middleware.connectors.logservice=FALSE #Provide the location of the log file to be logged #LOG4J.appender.file.FILE=<middleware-home>\logs\middleware.log
To update the data source configuration, follow these steps:
In Administration Console, select Services > Data Sources from the left menu.
Click New to add a new data source name.
Provide the following information:
Data source name: konyadmindb
In Administration Console, select Services > Data Sources from the left menu.
Data source name: konyreportsdb
Note: If JMS is already configured in the previous version, update the JMS configuration with the below update steps.
To update JMS Configuration, follow these steps:
Note: To configure JMS Server and Module for Metrics (if not used previously), refer Configure JMS Server.
To deploy the latest WAR files, follow these steps:
admin.war
, middleware.ear
and metrics.ear (applicable only for metrics) files to the application server from the Deployments tab of WebLogic Administration console and provide the target as the cluster or servers in which Kony MobileFabric Integration Service is configured.Important: Start the server or cluster from the Servers tab under Environments in the left menu of the Administration Console.
If you are using the Kony Reporting Portal for tracking sessions and users, then you must make the following changes so that you continue to see the reports in the new Admin Console (under the section Reports > Legacy Reports).
To track sessions and users, follow these steps:
-Dkonyreports.home=<The directory location>
. Verify the upgrade process by logging into the console and look for Server Version and Health Check. Use version.html
for verification.
To verify the upgrade process, follow these steps:
http://ipaddress:port/middleware/version.html
and look for server version.
Navigate to Settings and click Configuration.
Copyright © 2013 Kony, Inc. All rights reserved. |